version: '3'
services:
  backend:
    build:
      context: backend/
    ports:
      - "8000:8000"
    depends_on:
      - database
    env_file:
      - backend/.env
  database:
    image: postgres:15
    env_file:
      - backend/.env
    ports:
      - "5432:5432"
